/*div高度自适应浏览器高度*/


/*基本样式*/

html,
body {
    height: 100%;
    overflow: hidden;
    /*font-size: 62.5%;*/
}

::selection {
    background-color: #4395ff;
    text-shadow: none;
    color: #fff;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

a:hover {
    text-decoration: none;
}


/*左侧*/

.sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    display: block;
    z-index: 1;
    color: #fff;
    font-weight: 200;
    background-size: cover;
    background-position: center center;
}

.sidebar .sidebar-wrapper {
    position: relative;
    max-height: none;
    min-height: 100%;
    overflow: hidden;
    width: 260px;
    z-index: 4;
}

.sidebar .sidebar-background {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
}

.sidebar .logo {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar .logo .simple-text {
    text-transform: uppercase;
    padding: 5px 0px;
    display: block;
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 400;
    line-height: 30px;
}

.sidebar .logo-tim {
    border-radius: 50%;
    border: 1px solid #333;
    display: block;
    height: 61px;
    width: 61px;
    float: left;
    overflow: hidden;
}

.sidebar .logo {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar .logo .simple-text {
    text-transform: uppercase;
    padding: 5px 0px;
    display: block;
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 400;
    line-height: 30px;
}

.hover-under-no:hover {
    text-decoration: none;
}

.sidebar:after,
.sidebar:before {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.sidebar:before {
    opacity: .33;
    background: #000000;
}

.sidebar:after {
    background: #787878;
    background: -moz-linear-gradient(top, #787878 0%, #343434 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #787878), color-stop(100%, #343434));
    background: -webkit-linear-gradient(top, #787878 0%, #343434 100%);
    background: -o-linear-gradient(top, #787878 0%, #343434 100%);
    background: -ms-linear-gradient(top, #787878 0%, #343434 100%);
    background: linear-gradient(to bottom, #787878 0%, #343434 100%);
    background-size: 150% 150%;
    z-index: 3;
    opacity: 1;
}

.sidebar[data-image]:after {
    opacity: .85;
}

.sidebar[data-color="purple"]:after {
    background: #9368E9;
    background: -moz-linear-gradient(top, #9368E9 0%, #943bea 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9368E9), color-stop(100%, #943bea));
    background: -webkit-linear-gradient(top, #9368E9 0%, #943bea 100%);
    background: -o-linear-gradient(top, #9368E9 0%, #943bea 100%);
    background: -ms-linear-gradient(top, #9368E9 0%, #943bea 100%);
    background: linear-gradient(to bottom, #9368E9 0%, #943bea 100%);
    background-size: 150% 150%;
}


/*左侧菜单*/

.menu-list > li {
    line-height: 40px
}

.admin-menu-parent {
    border-bottom: 1px dotted #cdb0f5;
}

.admin-menu-parent .admin-menu-dropdown-toggle {
    width: 100%;
    min-height: 40px;
    height: auto;
    height: 100%;
    display: inline-block;
    border-left: 4px solid transparent;
}

.admin-menu-parent .admin-menu-dropdown-toggle:hover {
    border-left: 4px solid #1DC7EA;
    cursor: pointer;
    background-color: rgba(103, 58, 183, .6);
}

.admin-menu-parent .admin-menu-botton {
    cursor: pointer;
    background-color: rgba(103, 58, 183, .6);
    /*js不支持*/
    border-left: 4px solid #1DC7EA;
}

.admin-menu-parent .admin-menu-dropdown-toggle .icon {
    display: inline-block;
    line-height: 40px;
    margin-right: 20px;
    margin-left: 30px;
}

.admin-menu-parent .admin-menu-dropdown-toggle .title {
    letter-spacing: 3px;
    line-height: 40px;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    font-family: inherit;
    margin-right: 60px;
}

.admin-menu-parent a {
    color: #F7F7F8;
}

.admin-menu-parent .admin-menu-botton .active {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.admin-menu-child{
    margin-bottom: 14px;
}
.admin-menu-child li {
    line-height: 40px;
    width: 164px;
    height: 38px;
    margin: 4px auto;
    text-align: center;
}

.admin-menu-child li a {
    display: block;
    line-height: 40px;
    width: 164px;
    height: 38px;
    margin: 0 auto;
}

.admin-menu-child li:hover a,
.menu-active {
    box-shadow: 0 0 2px #ac89dd;
    background-color: #ac89dd;
    border-radius: 4px;
}

.hello-user {
    width: 100%;
    height: 39px;
    border-bottom: 1px dotted #cdb0f5;
    line-height: 40px;
    text-align: center;
    letter-spacing: 5px;
    font-size: 1.8rem;
}


/*右侧*/

.main-panel {
    background: rgba(203, 203, 210, 0.15);
    position: relative;
    z-index: 2;
    float: right;
    width: calc(100% - 260px);
    min-height: 100%;
}

.main-panel .main-panel-top {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


/*右侧顶部*/

.navbar {
    padding: 0 15px;
    min-height: 60px;
    border: none;
}

.navbar-top {
    margin-bottom: 0;
}

.navbar-top,
.navbar-right {
    margin-right: 0;
}

.navbar-top .nav >li>a {
    padding: 20px 25px;
    position: relative;
}

li > .dropdown-menu,
.dropdown .dropdown-menu {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 370ms cubic-bezier(0.34, 1.61, 0.7, 1);
    -moz-transition: all 370ms cubic-bezier(0.34, 1.61, 0.7, 1);
    -o-transition: all 370ms cubic-bezier(0.34, 1.61, 0.7, 1);
    -ms-transition: all 370ms cubic-bezier(0.34, 1.61, 0.7, 1);
    transition: all 370ms cubic-bezier(0.34, 1.61, 0.7, 1);
}

.dropdown-menu,
.dropdown.open .dropdown-menu {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 29px -50px;
    -moz-transform-origin: 29px -50px;
    -o-transform-origin: 29px -50px;
    -ms-transform-origin: 29px -50px;
    transform-origin: 29px -50px;
}

.dropdown-menu {
    visibility: hidden;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    display: block;
    z-index: 9000;
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.125);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.125);
}

.open .dropdown-menu {
    opacity: 1;
    filter: alpha(opacity=100);
    visibility: visible;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    padding: 8px 16px;
    color: #333333;
    white-space: nowrap;
}

li > .dropdown-menu {
    border-radius: 10px;
    margin-top: -5px;
}

li > .dropdown-menu:before {
    border-bottom: 11px solid rgba(0, 0, 0, 0.2);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    content: "";
    display: inline-block;
    position: absolute;
    left: 12px;
    top: -11px;
}

.navbar-right > li > .dropdown-menu:before {
    left: auto;
    right: 12px;
}

.navbar ul li a {
    color: #9A9A9A;
}

.navbar ul li a:hover {
    color: #1DC7EA
}


/*面包削导航*/

.main-panel-breadcrumb {}

.breadcrumbs {
    padding: 0 10px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #F7F7F8;
    /*后台主页背景色*/
    height: 39px;
    line-height: 39px;
    display: block;
    overflow: hidden;
}

.breadcrumb {
    padding: 0 15px;
}

.main-panel-content {
    padding: 15px 15px 30px;
    min-height: calc(100% - 123px);
}


/* 表单部分（modal-body） */

.modal-body-content {
    width: 85%;
    margin: 0 auto;
}

.form-group.must .control-label:before,
.form-group.must .control-label before {
    content: '*';
    color: red;
}

.help-block {
    font-size: 10px;
    vertical-align: middle;
}

.sort {
    width: 32px;
    height: 25px;
    margin: 0;
    text-align: center;
    padding: 0 3px;
}
